package com.alpha.aorj.ripay;

import com.alipay.api.AlipayApiException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.UnsupportedEncodingException;

/**
 * @version V1.0
 * @author: Albert
 * @date: 2020/4/14 16:45
 * @description:
 */
public interface ALiPayService {

    void alipayDemo(Integer orderId, HttpServletRequest httpRequest, HttpServletResponse httpResponse);

    String alipayNotify(HttpServletRequest request, HttpServletRequest response) throws AlipayApiException, UnsupportedEncodingException;
}
